package cn.idietrade.idietradeusermodule8004.mapper;

import cn.idietrade.common.pojo.SecondConcern;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SecondConcernMapper {
    //根据userId返回关注列表
    List<SecondConcern> getSecondConcern(@Param("userId") Integer userId);

    //添加关注
    Integer addConcern(SecondConcern concern);

    //取消关注
    Integer delConcern(SecondConcern concern);
}
